@import "src/css/mixin";

#UserInfo {
  background: #FFF;
  min-height: 100%;
  padding: .3rem .2rem 0;

  .icon-return{
    width: .5rem;
    height: .5rem;
    display: block;
    line-height: .5rem;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
  }
  .user-supplier {
    padding-top:0.41rem;
    position: relative;
  }
  .user-hide{
    height: 2.6rem;
    width: 100%;
    position: absolute;
    z-index: 50;
  }

  input {
    width: 100%;
    height: .50rem;
    line-height: .17rem;
    font-size: .14rem;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    color:$black;
    padding-top:0.18rem;
    padding-left: 0.05rem;
    padding-bottom:0.17rem;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-radius: 0rem;
    border: none;
    border-bottom: solid 1px $linecolor;
  }
  input:focus {
    text-align: left;
    border-bottom: solid 1px $blue;
  }
  .form-control:disabled {
    background-color: #fff;
  }
  //.input-name{
  //  //padding-bottom: 0.19rem;
  //  height:0.56rem;
  //}
  .user-name{
    position: relative;
  }
  .user-phone {
    width: 100%;
    height: 0.50rem;
    line-height: 0.17rem;
    padding-top:0.18rem;
    padding-bottom: 0.17rem;
    padding-left:0.05rem;
    border-bottom:solid 1px $linecolor;
    color:$gray;
    font-size:0.14rem;
  }
  .user-alert{
    margin-top: 0.1rem;
    .icon-error{
      color: #F5A623;
      margin-right: 0.08rem;
      float: left;
    }
    .alert-tip{
      font-size: 0.12rem;
      color: #F5A623;
      letter-spacing: 0px;
      line-height: 0.15rem;
      width:1.8rem;
      display: inline-block;
    }
  }

  .user-click {
    text-align: center;
    margin-top: 0.32rem;
  }
  .btn-save {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    height:0.5rem;
    width: 100%;
  }
   //性别显示样式
    .modify-gender {
      text-align: center;
      position: absolute;
      right: 0.2rem;
      top:0.17rem;
       //小竖线
      .div-or {
        display: inline-block;
        background-color: $linecolor;
        color: $linecolor;
        width: 1px;
        height: 0.14rem;
        margin-left: 0.1rem;
        margin-right: 0.1rem;
        float:right;
      }
      .spacer {
        background-color:$linecolor;
        width: 1px;
        display: inline-block;
      }
      //radio
      .hidden-input {
        opacity: 0;
        position: absolute;
        z-index: -1;
        display: none;
      }

      input[type=radio]+span {
          /* your style goes here */
          display: inline-block;
          height: 0.12rem;
          width: 0.12rem;
          border-radius: 0.06rem;
          background-color: #fff;
          border: 1px $linecolor solid;   
          margin:0;
          margin-right:0.05rem;
          position: relative;
          top: 2px;
      }

      /* active style goes here */
      input[type=radio]:checked+span {
          background-color: $blue;
          border: 0;   
          position: relative;
          top: 2px;
      }
      label {
        display: inline-block;
        max-width: 100%;
        margin-bottom: 5px;
        font-size: 0.12rem;
        font-weight: 400;
        float:right;
      }
    }
  //
  .icon-up{
    font-size: 0.11rem;
    position:relative;
    top:-2px;
  }
  @media (min-width:320px){
    .user-gender {
      top: 0.09rem;
    }
  }
  @media (min-width:360px){
    .user-gender {
      top: 0.14rem;
    }
  }
  @media (min-width:410px){
    .user-gender {
      top: 0.14rem;
    }
  }
  .class-male,.class-female{
    color: $lightgray;
    display: inline-block;
    font-size:0.14rem;
    span {
      display: inline-block;
      height: 12px;
      width: 12px;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      border: solid 1px $linecolor;
      margin-right: 5px;
      position: relative;
    }
  }
  .male-mark{
    position: relative;
    display: block;
    height: 6px;
    width: 6px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #78aaff;
    top: 2px;
    left: 2px;
  }
  .female-mark {
    position: relative;
    display: none;
    height: 6px;
    width: 6px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #78aaff;
    top: 2px;
    left: 2px;
  }
  
  //头像
  .user-avatar{
    width: 100%;
    text-align: center;
    line-height: 1;
    margin-bottom:0.31rem;
    padding-top:0.39rem;
  }
  .avatar{
    position: relative;
    display: inline-block;
    width:1rem;
    height:1rem;
    -webkit-border-radius:0.5rem 0.5rem;
    -moz-border-radius:0.5rem 0.5rem;
    border-radius:0.5rem 0.5rem;
    background-color:#ebf0f8;
    background-size: cover;
    cursor:pointer;
    line-height: 1rem;
    color: #b3b5b7;
  }
  .image-avatar{
    width:1rem;
    height:1rem;
    -webkit-border-radius:0.5rem 0.5rem;
    -moz-border-radius:0.5rem 0.5rem;
    border-radius:0.5rem 0.5rem;
    background-color:#ebf0f8;
    position: absolute;
    left: 0;

  }
  .add{
    position: absolute;
    top:4px;
    right:4px;
    width:0.25rem;
    height:0.25rem;
    -webkit-border-radius:0.175rem 0.175rem;
    -moz-border-radius:0.175rem 0.175rem;
    border-radius:0.175rem 0.175rem;
    color:#fff;
    background-color:$blue;
    text-align:center;
    line-height:0.25rem;
    z-index: 1000;
  }
}
